package com.entrogy.bean;

import java.io.Serializable;

public class DutyEntity implements Serializable {
    private int dutyId;
    private String dutyName;
    private String messageSendTeacher;
    private int messageSendParent;
    private int gradeImport;
    private int gradeLook;
    private int recordLook;
    private int informationUpdate;
    private int leaveCheck;
    private int visitCheck;
    private int attendanceSet;
    private int attendanceLook;

    public int getDutyId() {
        return dutyId;
    }

    public void setDutyId(int dutyId) {
        this.dutyId = dutyId;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getMessageSendTeacher() {
        return messageSendTeacher;
    }

    public void setMessageSendTeacher(String messageSendTeacher) {
        this.messageSendTeacher = messageSendTeacher;
    }

    public int getMessageSendParent() {
        return messageSendParent;
    }

    public void setMessageSendParent(int messageSendParent) {
        this.messageSendParent = messageSendParent;
    }

    public int getGradeImport() {
        return gradeImport;
    }

    public void setGradeImport(int gradeImport) {
        this.gradeImport = gradeImport;
    }

    public int getGradeLook() {
        return gradeLook;
    }

    public void setGradeLook(int gradeLook) {
        this.gradeLook = gradeLook;
    }

    public int getRecordLook() {
        return recordLook;
    }

    public void setRecordLook(int recordLook) {
        this.recordLook = recordLook;
    }

    public int getInformationUpdate() {
        return informationUpdate;
    }

    public void setInformationUpdate(int informationUpdate) {
        this.informationUpdate = informationUpdate;
    }

    public int getLeaveCheck() {
        return leaveCheck;
    }

    public void setLeaveCheck(int leaveCheck) {
        this.leaveCheck = leaveCheck;
    }

    public int getVisitCheck() {
        return visitCheck;
    }

    public void setVisitCheck(int visitCheck) {
        this.visitCheck = visitCheck;
    }

    public int getAttendanceSet() {
        return attendanceSet;
    }

    public void setAttendanceSet(int attendanceSet) {
        this.attendanceSet = attendanceSet;
    }

    public int getAttendanceLook() {
        return attendanceLook;
    }

    public void setAttendanceLook(int attendanceLook) {
        this.attendanceLook = attendanceLook;
    }

    public String getSimpDutyName() {
        String dutyName = getDutyName();
        return dutyName.split(",")[0];
    }

    public String getRightFullDutyName() {
        String dutyName = getDutyName();
        String[] sArr = dutyName.split(",");
        String rightFullDutyName = "";
        for (String s : sArr) {
            rightFullDutyName += s;
        }
        return rightFullDutyName;
    }
}
